package cn.xiaowenjie.daos;

import cn.xiaowenjie.beans.QwUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserManagerDao {
    List<QwUser> selectList(@Param("name") String name, @Param("phone") String phone, @Param("position") String position);

    QwUser selectById(@Param("id") Long id);

    void insertSelective(QwUser user);

    void updateByIdSelective(QwUser user);

    void deletedById(@Param("id") Long id);

    QwUser queryByUserName(@Param("name") String name);
}
